//
//  TitleLabel.m
//  老司机发车了
//
//  Created by SuperNing on 16/8/8.
//  Copyright © 2016年 斌. All rights reserved.
//

#import "TitleLabel.h"

@implementation TitleLabel


- (instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
        [self setup];
    }
    
    return self;
}

- (void)awakeFromNib{
    
    [self setup];
}

- (void)setup{
   
    self.frame = CGRectMake(0, 0, screenWidth / 4, 30);
    
    self.textAlignment = NSTextAlignmentCenter;
//    self.textColor = [UIColor blueColor];
    self.userInteractionEnabled = YES;
}



@end
